<div class="post">
	<div class="title">
		<?php echo CHtml::link(CHtml::encode($data->title), $data->url); ?>
	</div>

	<div class="content">
		<?php
			$this->beginWidget('CMarkdown', array('purifyOutput'=>true));
			echo $data->content;
			$this->endWidget();
		?>
	</div>
	<div class="author">
		<p>Postado por: <?php echo $data->author->username . ' : ' . date('d/m/Y',$data->create_time); ?></p>
	</div>
        <div class="nav">
		<?php echo CHtml::link("Comentários ({$data->commentCount})",$data->url.'#comentarios'); ?> |
		Ultima alteração: <?php echo date('d/m/Y',$data->create_time); ?>
	</div>
</div>
